package com.example.appathon13;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.AdapterView.OnItemClickListener;

public class BrowseSpace extends Activity{
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.browse_space);
		
		ArrayList<String> arr = new ArrayList<String>();
		
		final ListView lv1 = (ListView) findViewById(R.id.ListView01);
		lv1.setAdapter(new BrowseSpaceListAdapter(this, arr));

		lv1.setOnItemClickListener(new OnItemClickListener() {
			public void onItemClick(AdapterView<?> a, View v, int position, long id) { 
				Object o = lv1.getItemAtPosition(position);
				String fullObject = (String)o;
			}
		});
	}
}
